Skip to content

feat: set the jitter buffer target of a receiver - #604

Open
devopvoid wants to merge 1 commit into
mainfrom
feat/receiver-jitter-buffer-target
Open

devopvoid wants to merge 1 commit into
mainfrom
feat/receiver-jitter-buffer-target

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Description

  • RTCRtpReceiver.setJitterBufferTarget(Double) sets how long the jitter buffer holds media at least, from 0 to 4000 ms, as jitterBufferTarget of the WebRTC specification does. null returns to the default.
  • RemoteTrack.setJitterBufferTarget(Duration) does the same in the client API.

Motivation and Context

On a network with much jitter, a longer target trades latency for smooth playout. Until now only the audio jitter buffer of the whole connection could be configured.

Type of Change

  • New feature (feat)

Affected Modules

  • webrtc (Java API)
  • webrtc-jni (native code)
  • docs

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant